# -*- coding: UTF-8 -*-
# filename: yangsy.py

# 请使用正则找出下面字符串中所有的邮箱地址，并打印出来。

import re
s = ''' Tom's email is tom@qq.com,and Coral's email is coral@163.com. But I use 54345wz@qq.com. '''

email_pattern = r'[0-9a-zA-Z.]+@[0-9a-zA-Z.]+?com'
email = re.findall(email_pattern,s)
print(email)
